

#import <Foundation/Foundation.h>

@interface SaveData : NSObject

#pragma mark
#pragma mark - 偏好设置保存
+ (void)saveValue:(NSString *)Value keyString:(NSString *)keyString;

#pragma mark
#pragma mark - 偏好设置读取
+ (NSString *)getKeyString:(NSString *)keyString;


#pragma mark
#pragma mark - plist文件保存

- (void)plistWritToFile:(NSString *)name;


#pragma mark
#pragma mark - plist文件读取
- (NSString *)plistWritContent:(NSString *)name;


#pragma mark
#pragma mark - 归档
- (void)archiveData:(id)model feleName:(NSString *)name;

#pragma mark
#pragma mark - 解归档
- (id)unarchivefileName:(NSString *)name;
@end
